#ifndef NETWORK_NETWORKJSONRESPONSE_H
#define NETWORK_NETWORKJSONRESPONSE_H

#include "networkresponse.h"

#include <QObject>


namespace Network {

class JSONResponse : public Network::Response
{
    Q_OBJECT
public:
    explicit JSONResponse(QObject *parent = 0);

//signals:
//    void onChanned();

private:
    void parse(const QByteArray &data);

    virtual void parse(const QVariant &data) = 0 ;
};

} // namespace Network

#endif // NETWORK_NETWORKJSONRESPONSE_H
